﻿@model WebUI.Models.FilesModel
@{
    AjaxOptions ajaxOpts = new AjaxOptions
{
    UpdateTargetId = "OffHoursGrid",
    InsertionMode = InsertionMode.Replace,
    LoadingElementId = "divLoading"
};
}
@section Filters{
    @using (Ajax.BeginForm(MVC.Reports.Reports.OffHours(), ajaxOpts))
    {
        Html.RenderPartial(MVC.Reports.Shared.Views._Filters, Model.FilesFilter);
    }

    @{Html.RenderPartial(MVC.Reports.Filters.Views.Hosts);}
    @{Html.RenderPartial(MVC.Reports.Filters.Views.FileTypes, Model.FilesFilter.FileTypes);}
}
@section Title{@WebUI.Resources.OffHoursTitle}
@section PageName{@WebUI.Resources.OffHoursTitle}
<div id="divLoading" style="display: none; position: absolute; left: 50%; top: 50%;
    margin-left: -100px; margin-top: -100px">
    <img alt="" src="@Links.Content.images.loading_gif" />
</div>
<div id="OffHoursGrid">
    @{Html.RenderPartial(MVC.Reports.Reports.Views._OffHoursGrid, Model);}
</div>
